projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1cca3a
)
colorswatch: handle clip for box-shadow
author
Benjamin Otte
<otte@redhat.com>
Thu, 12 Jun 2014 12:39:12 +0000
(14:39 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 16 Jun 2014 16:43:49 +0000
(18:43 +0200)
gtk/gtkcolorswatch.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcolorswatch.c
b/gtk/gtkcolorswatch.c
index 21cedde65232a800d601e827cc3e89a6708804fe..ccee3ea122d6ee19ae7c335965f3c358644c3ecc 100644
(file)
--- a/
gtk/gtkcolorswatch.c
+++ b/
gtk/gtkcolorswatch.c
@@
-30,6
+30,7
@@
#include "gtkmenushell.h"
#include "gtkprivate.h"
#include "gtkintl.h"
+#include "gtkwidgetprivate.h"
#include "a11y/gtkcolorswatchaccessibleprivate.h"
@@
-632,6
+633,8
@@
swatch_size_allocate (GtkWidget *widget,
allocation->y,
allocation->width,
allocation->height);
+
+ _gtk_widget_set_simple_clip (widget);
}
static gboolean